# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.

load("@typedb_dependencies//tool/checkstyle:rules.bzl", "checkstyle_test")
load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_test")
package(default_visibility = ["//visibility:public",])


rust_binary(
    name = "recoverer",
    crate_root = "recoverer.rs",
    srcs = ["recoverer.rs"],
    deps = [
        "//durability:durability",
        "//durability/tests/common:durability_test_common",
        "@crates//:bincode",
    ],
)

checkstyle_test(
    name = "checkstyle",
    include = glob(["*"]),
    exclude = glob(["Cargo.*"]),
    license_type = "mpl-header",
)
